package util;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * PackageName: util
 * ClassName: TimeFormat
 * Author: tum0r
 * Time: 2020/5/25 21:13
 */
public class TimeFormat {
    public static String format(Date date) {
        SimpleDateFormat simpleDateFormat = new SimpleDateFormat(Config.TIME_FORMAT);
        return simpleDateFormat.format(date);
    }
}
